package com.aopcinemas.cinema.model;

import com.aopcinemas.common.model.Address;
import com.aopcinemas.common.model.Person;

public class Client extends Person {

    private static final long serialVersionUID = 1L;

    public static enum Status {
        RISING_STAR, STAR, SUPER_STAR
    }

    private long id;
    private Address address;
    private Status status;

    public Client() {}

    public Client(Person person) {
        uid = person.getUid();
        dateOfBirth = person.getDateOfBirth();
        email = person.getEmail();
        language = person.getLanguage();
        gender = person.getGender();
        name = person.getName();
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

}
